/*
 * @Description: 表单校验规则
 * @Author: chenju
 * @Date: 2022-03-22 17:46:03
 * @LastEditors: chenju
 * @LastEditTime: 2022-03-24 11:21:41
 */
export const rules = {
  supplierCode: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ],
  supplierName: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ],
  supplierType: [
    {
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ],
  organizationBoundary: [
    {
      type: 'array',
      required: true,
      message: '必填项',
      trigger: ['submit', 'change']
    }
  ]
};
